package tesis.ProyectoFianl.Vista;

import tesis.ProyectoFinal.BusWay.R;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class ActivityRecorridosDetalle extends Activity 
{
	TextView txtCorredor;
	TextView txtRamal;
	TextView txtRecorrido;
	
	@Override
	public void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.pantalla_detallerecorridos);
		
		this.txtCorredor = (TextView) findViewById(R.id.corredor);
		this.txtRamal = (TextView) findViewById(R.id.ramal);
		this.txtRecorrido = (TextView)findViewById(R.id.recorrido);
		
		Bundle b = getIntent().getExtras();
		String corredor = b.getString("corredor");
		String ramal = b.getString("ramal");
		String recorrido = b.getString("recorrido");
		
		this.txtCorredor.setText(corredor);
		this.txtRamal.setText(ramal);
		this.txtRecorrido.setText(recorrido);
	}
}
